#ifndef GLOBAL_H
#define GLOBAL_H

#include<cassert>
// #include "DSP_chip.h"
typedef unsigned long long int addr_size_t;
// typedef char int8_t;
typedef unsigned int uint32_t;
typedef long long int global_clock_t;

//!!!!ATTENTION:只有Stepping方法可以修改该全局变量
extern global_clock_t global_clock;

// extern DSP_chip* global_dsp_chip;

enum hardware_id {
    VMAC_M1,
    VMAC_M2,
    VMAC_M3,
    VIEU_,
    VLDST_0_,
    VLDST_1_,
    SMAC_M1,
    SMAC_M2,
    SIEU_,
    SLDST_,
    SBR_
    //TODOszy: 补全硬件模块
};
#endif
